package br.com.firula.bo.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import br.com.firula.bo.AdministradorBO;
import br.com.firula.dao.AdministradorDAO;
import br.com.firula.to.AdministradorTO;

@SuppressWarnings("unchecked")
@Service("administradorBO")
public class AdministradorBOImpl extends GenericBOImpl implements AdministradorBO {

    @Autowired
    public void setAdministradorDAO(AdministradorDAO dao) {
        this.dao = dao;
    }

    public AdministradorBOImpl(){
    	setType("br.com.firula.to.AdministradorTO");
    }

    public AdministradorTO getAdministradorById(String id) {
    	return (AdministradorTO)get(id);
    }

}